#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a;
    int i, j;
   
    while (scanf("%d", &a) != EOF) 
    { 
        
        for (i=a;i>0;i--)
        {
            j=i;
            while (j)
            {
                printf("* ");
                j--;
            }
            printf("\n");
        }
    }
    return 0;
}